package com.xiaochong.tir.common.util;

/**
 * Created by wujiaxingu on 2018/6/15.
 */
public enum KLineTypeEnum {

    HOUR81("8小时K线 8点",1),
    HOUR82("8小时K线 16点",2),
    HOUR83("8小时K线 24点",3),
    DAY_HALF1("12小时K线 12点",4),
    DAY_HALF2("12小时K线 24点",5),
    DAY("日K线 24点",6),
    DAY_WEIGHT_INDEX("权重日K线",7),
    WEEK("周k",8),
    MONTH("月k",9);


    private String name;

    private Integer index;

    KLineTypeEnum(String name, Integer index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }
}
